package com.glink.common.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author xum
 * @since 2024/6/17
 */
@Data
@NoArgsConstructor
public class ResponseMessage<T>
        implements Serializable {
    private static final long serialVersionUID = 1L;
    private String status;
    private String message;
    private T result;

    public ResponseMessage(String status, String message) {
        this.status = status;
        this.message = message;
    }

    public ResponseMessage(String status, String message, T result) {
        this.status = status;
        this.message = message;
        this.result = result;
    }


}
